package com.unitd.modules.sys.controller;

import com.unitd.frame.sso.annotation.Permission;
import com.unitd.comm.web.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @desc durid监控
 * @filename MonitorController.java
 * @copyright www.unitd.com
 * @author Hudan
 * @version 1.0
 * @date 2017-04-08
 */
@Controller
@RequestMapping("/sys/monitor")
public class MonitorController extends BaseController {


	/**
	 * @desc 警告列表
	 * @param model
	 * @return
	 */
	@Permission("sys:monitor:warning")
	@RequestMapping("/warning")
	public String warning(Model model) {
		return "/modules/sys/monitor/warning";
	}
}